13. Short Message Service (SMS) Commands > 13.23 AT^SMGL   List Short Messages from preferred store without set­ting status to REC READ

13.23
AT^SMGL   List Short Messages from preferred store without set­ting status to REC READ
The write command allows to select a status type and lists, from the message storage <mem1>, all messages that currently have the specified <stat>. The major difference over the standard command AT+CMGL is that the status of the listed messages remains u n c h a n g e d (unread remains unread).
The execute command is the same as the write command, but uses the given default of <stat>.
Syntax
Test Command  
Response(s)
Exec Command  
Response(s)
^SMGL: (For default values of <stat>, see "Section 13.1, SMS parameters.)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 

Notes
•
The selected <mem1> can contain different types of SMs (e.g. SMS-DELIVERs, SMS-SUBMITs, SMS-STA­TUS-REPORTs and SMS-COMMANDs), the response may be a mix of the responses of different SM types. TE application can recognize the response format by examining the third response parameter.
•
Users should be aware that when using this AT command quickly after SIM PIN authentication the SIM data may not yet be accessible, resulting in a short delay before the requested AT command response is returned. See Section 23.1, Restricted access to SIM data after SIM PIN authentication for further detail.
•
If the ME is Java controlled, take into account that the AT Command API can handle responses up to a length of 1024 bytes. To avoid any longer re-sponses it is recommended not to read the entire range of short mes­sage entries at a time.